package org.atlantis.grosbeak.cable.template;

/**
 * 用来渲染一段JavaScript脚本的模板。
 * 
 * @author <a href="mailto:seenoevil.cn@gmail.com">SeeNoEvil</a>
 * 
 */
public class JavaScriptTemplate extends TextTemplate {

	public JavaScriptTemplate(String javascript) {
		super(javascript);
		setContentType("application/x-javascript");
	}

	public JavaScriptTemplate(String javascript, String encoding) {
		super(javascript, encoding);
		setContentType("application/x-javascript");
	}
}
